package chapter10;

public class TheConsole {
    public static void main(String[] args) {
        TheConsole theConsole = new TheConsole();
        Trucks trucks = new Trucks("灰色","奔驰","a12346",5.0,4);
        ElectricCar electricCar = new ElectricCar("白色","宝马","451245",1.5,5);
        trucks.describe();
        electricCar.describe();
        electricCar.tram();
    }
}
